﻿using System;
using System.Data;
using OneMG.Phoenix.Entity;
using System.Collections.Generic;
namespace OneMG.Phoenix.Respository
{
    public interface INews
    {
    
        System.Int32 AddNews(ENews news);

        void UpdateByNewsID(ENews news);

		void DeleteByNewsID(System.Int32 newsID);
		 
        ENews GetByNewsID(System.Int32  newsID);

        IList<ENews> GetPagedList(int pageSize, int pageIndex,int categoryID, out int totalRecord);



    }
}